package com.woniuxy.woniufp.system.client;

import com.woniuxy.woniufp.common.model.dto.bank.BankCardAddDTO;
import com.woniuxy.woniufp.common.model.dto.bank.SignatureDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "woniufp-bank-access-service")
public interface BankFeignClient {

    @PostMapping("/bank/access/card")
    public SignatureDTO proxyBindCardLog(@RequestBody BankCardAddDTO bankCardAddDTO);
}
